<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<script type="text/javascript">
			
	</script>
<table class="mytable" cellspacing="0">
<c:choose>
	<c:when test="${empty citys}">
	<tr>
		<td>暂时还没有城市酒店信息</td>
	</tr>
	</c:when>
	<c:otherwise>
	<c:forEach items="${citys}" var="citys" varStatus="s">
	<tr <c:if test="${s.count%2!=0}">class="rowalt"</c:if>>
		<td width="70%">
		${citys.cityCn}
		</td>
		<td width="30%" align="right"><a href="${ctx}/hotel/download.usr?path=${citys.hotelPdf}">下载</a></td>
	</tr>
	</c:forEach>
	</c:otherwise>
</c:choose>
</table>
<div style="margin: 5px;text-align: right;"><alb2b:page url="${ctx}/hotel/queryMoreCity.usr?countryId=${countryId}"/></div>
<c:if test="${!empty citys}">
<div class="more">
	<a href="${ctx}/hotel/queryMoreCity.usr?countryId=${countryId}">更多...</a>
</div>
<script type="text/javascript">	
	//表格tr鼠标飘过样式
	$(".mytable tr").mouseover(function(){
		$(this).attr("style","background-color:#D0E5F5");
	});
	$(".mytable tr").mouseout(function(){
		$(this).removeAttr("style");
	});
</script>
</c:if>
